<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Module_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-module_id" data-rule="required" data-source="tongcheng/module/index" class="form-control selectpage" name="row[module_id]" type="text" value="{$row.module_id|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Base_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-base_fee" data-rule="required" class="form-control" step="0.01" name="row[base_fee]" type="number" value="{$row.base_fee|htmlentities}">
        </div>
    </div>
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_fee_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delivery_fee_rate" data-rule="required" class="form-control" step="0.1" name="row[delivery_fee_rate]" type="number" value="{$row.delivery_fee_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_tip')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_tip" class="form-control selectpicker" name="row[open_tip]">
                {foreach name="openTipList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_tip"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_advance_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_advance_fee" class="form-control selectpicker" name="row[open_advance_fee]">
                {foreach name="openPrefeeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_advance_fee"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_insure')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_insure" class="form-control selectpicker" name="row[open_insure]">
                {foreach name="openInsureList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_insure"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_range')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_range" class="form-control selectpicker" name="row[open_range]">
                {foreach name="openRangeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_range"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_weight')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_weight" class="form-control selectpicker" name="row[open_weight]">
                {foreach name="openWeightList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_weight"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_surcharge')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_surcharge" class="form-control selectpicker" name="row[open_surcharge]">
                {foreach name="openSurchargeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_surcharge"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_appoint_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--<input id="c-open_appoint_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[open_appoint_time]" type="text" value="{:$row.open_appoint_time?datetime($row.open_appoint_time):''}">-->
            <select  id="c-open_appoint_time" class="form-control selectpicker" name="row[open_appoint_time]">
              {foreach name="openGenderList" item="vo"}
              <option value="{$key}" {in name="key" value="$row.open_appoint_time"}selected{/in}>{$vo}</option>
              {/foreach}
            </select>
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_gender')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_gender" class="form-control selectpicker" name="row[open_gender]">
                {foreach name="openGenderList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_gender"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_coupon')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_coupon" class="form-control selectpicker" name="row[open_coupon]">
                {foreach name="openCouponList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_coupon"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_pickup_code')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-open_pickup_code" class="form-control selectpicker" name="row[open_pickup_code]">
                {foreach name="openPickupCodeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_pickup_code"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

            <p class="help-block">*开启后，骑手取货时需要验证【取货码】正确才能进行取货操作（取货码在用户端小程序订单详情可见）</p>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_receive_code')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-open_receive_code" class="form-control selectpicker" name="row[open_receive_code]">
                {foreach name="openPickupCodeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.open_receive_code"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

            <p class="help-block">*开启后，司机必须核验乘客手机号，甚至会使用验证码验证！</p>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
